<#include "/java_copyright.include">
<#assign className = table.className>   
<#assign classNameLower = className?uncap_first>   
package ${basepackage}.biz.${namespace}.dao;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import ${basepackage}.client.domain.${namespace}.${className};
import ${basepackage}.client.query.${namespace}.${className}Query;
import ${basepackage}.dao.BaseDao;

@Mapper
public interface ${className}Dao extends BaseDao<${className},${table.idColumn.javaType}>{
	/**
	 * 查询列表
	 */
	public List<${className}> findList(${className}Query ${classNameLower}Query);
	
	/**
	 * 根据条件更新部分字段   新建一个query封装需要更新的字段
	 * searchMap封装更新条件
	 * */
	public void updatePart(${className}Query ${classNameLower}Query);
	/**
	 * 逻辑删除
	 * @param ids
	 */
	public void deletePt(Long[] ids);
	/**
	 * 物理删除
	 * @param ids
	 */
	public void deleteAc(Long[] ids);

}
